package com.zb.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 后台仓库权限表
 * </p>
 *
 * @author WEN
 * @since 2023-07-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ZjAdmStoreAuthor对象", description="后台仓库权限表")
public class ZjAdmStoreAuthor implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主健ID")
    private Long id;

    @ApiModelProperty(value = "仓库类型：1- 入库，2-出库，3-调拨，4-盘点")
    private Integer type;

    @ApiModelProperty(value = "权限类型：1-入库/出库审核，2-发货，3-出库，4-作废")
    private Integer category;

    @ApiModelProperty(value = "是否禁用：0-否，1-是")
    @TableField("is_disabled")
    private Boolean disabled;

    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建时间")
    private Date gmtCreate;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value = "更新时间")
    private Date gmtUpdate;


}
